Class IndexedHeapNode
- java.lang.Object
-
- edu.claflin.finder.logic.communities.struct.HeapNode
-
- edu.claflin.finder.logic.communities.struct.IndexedHeapNode
-
-
Constructor Summary
Constructors Constructor Description IndexedHeapNode(int i, int j, double q)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(HeapNode that)Compare this HeapNode to that HeapNode.booleanequals(java.lang.Object o)intgetI()voidsetI(int i)voidsetInfo(int i, int j, double q)java.lang.StringtoString()
-
-
-
Method Detail
-
getI
public int getI()
- Returns:
- the i
-
setI
public void setI(int i)
-
setInfo
public void setInfo(int i, int j, double q)
-
compareTo
public int compareTo(HeapNode that)
Description copied from class:HeapNodeCompare this HeapNode to that HeapNode. We want before means higher Q, then smaller j
-
-